<form id="pagerForm" method="post" action="modelResourse/list">
    <input type="hidden" name="pageNum" value="1" />
</form>


<div class="pageHeader">
 
	
	<form onsubmit="return navTabSearch(this);" action="modelResourse/list" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					模块名称：<input type="text" name="name"/>
				</td>
				
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="20%">模块标题</th>
				<th width="20%">模块编码</th>
				<th width="10%">模块类型</th>
				<th width="15%">开始时间</th>
				<th width="15%">结束时间</th>
				<th width="5%">排序值</th>
				<th width="5%">展示状态</th>
				<th width="10%">操作</th>
			</tr>
		</thead>
		<tbody>
			<#list BeanList.data as modelBO> 
			<tr target="sid_user" rel="1">
				<td>${modelBO.moduleName}</td>
				<td>${modelBO.moduleCode}</td>
				<td><#if modelBO.moduleType=1> 图片 <#else> 文字 </#if></td>
				<td>${modelBO.startTime}</td>
				<td>${modelBO.endTime}</td>
				<td>${modelBO.sort}</td>
				<td><#if modelBO.status=1>显示 <#else> 隐藏 </#if>
				</td>
				<td>
				  <a  target="navTab" href="modelResourse/toAdd?modelId=${modelBO.modelId}">编辑</a>&nbsp;
			   </td>
			</tr>
		</#list>

		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>
			<span>条，共${BeanList.totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab"  totalCount="${BeanList.totalCount}" numPerPage="${BeanList.numPerPage}" pageNumShown="20" currentPage="${BeanList.currentPage}"></div>
	</div>
</div>
